package controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
@Slf4j
@Api(tags = "New module girl")
public class HelloController {

    @ApiOperation("测试mygirl")
    @GetMapping(value = "/mygirl")
    public Result<String> hello() {
        Result<String> result = new Result<String>();
        result.setResult("Hello World girl!");
        result.setSuccess(true);
        return result;
    }
}
